Difficulty:
Notes:
Rabbit Holes:
- Flag submission did not work so I searched around for another hour trying to find the flag somewhere on the system
Solution:
- Register new account
- Use Directory Traversal on
/avatars
to dump sourcecode- index.js
- avatarmaker.js
- package.json
- .env
- index.js has hardcoded JWT Secrets
- Admin user has note with the flag
- Use https://jwt.io/ to create a new Token with username=admin and given secret
- Get Admin Notes via
/home
with crafted Token - Get Flag from HTTP Response